翻訳と辞書
Words near each other
・ Convention on the Recognition and Enforcement of Foreign Arbitral Awards
・ Convention on the recognition of decisions recording a sex reassignment
・ Convention on the Recognition of Registered Partnerships
・ Convention on the Recovery Abroad of Maintenance
・ Convention on the Reduction of Statelessness
・ Convention on the Regulation of Antarctic Mineral Resource Activities
・ Convention on the Rights of Persons with Disabilities
・ Convention on the Rights of the Child
・ Convention on the Safety of United Nations and Associated Personnel
・ Convention on the Territorial Sea and the Contiguous Zone
・ Convention on the Transboundary Effects of Industrial Accidents
・ Convention on the Transfer of Sentenced Persons
・ Convention on the Unification of Certain Points of Substantive Law on Patents for Invention
・ Convention on Transit Trade of Land-locked States
・ Convention over Code
Convention over configuration
・ Convention Parliament
・ Convention Parliament (1689)
・ Convention Parliament (England)
・ Convention People's Party
・ Convention People's Party (Sierra Leone)
・ Convention People's Party of Nigeria and the Cameroons
・ Convention Relating to the Distribution of Programme-Carrying Signals Transmitted by Satellite
・ Convention relating to the Status of Refugees
・ Convention relating to the Status of Stateless Persons
・ Convention Relative to the Preservation of Fauna and Flora in their Natural State
・ Convention to propose amendments to the United States Constitution
・ Convention travel document
・ Conventional electrical unit
・ Conventional insulinotherapy


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Convention over configuration : ウィキペディア英語版
Convention over configuration

Convention over configuration (also known as coding by convention) is a software design paradigm which seeks to decrease the number of decisions that developers need to make, gaining simplicity, and not necessarily losing flexibility.
The phrase essentially means a developer only needs to specify unconventional aspects of the application. For example, if there is a class Sales in the model, the corresponding table in the database is called "sales" by default. It is only if one deviates from this convention, such as calling the table "product sales", that one needs to write code regarding these names.
When the convention implemented by the tool matches the desired behavior, it behaves as expected without having to write configuration files. Only when the desired behavior deviates from the implemented convention is explicit configuration required.
==Motivation==
Some frameworks need multiple configuration files, each with many settings. These provide information specific to each project, ranging from URLs to mappings between classes and database tables. A large number of configuration files with lots of parameters is often difficult to maintain.
For example, early versions of the Java persistence mapper Hibernate mapped entities and their fields to the database by describing these relationships in XML files. Most of this information could have been revealed by conventionally mapping class names to the identically named database tables and the fields to their columns, respectively. Later versions did away with the XML configuration file and instead employed these very conventions, deviations from which can be indicated through the use of Java annotations (see JavaBeans specification, linked below).

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Convention over configuration」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.